<template>
  <DeviceVerificationPlanEditDialog
    v-if="dialogFormVisible"
    ref="DeviceBorrowEdit"
    :edit-id.sync="editId"
    :dialog-form-visible.sync="dialogFormVisible"
  />
</template>
<script>
const DeviceManage = import("@/ModuleDeviceManage");
// import DeviceCalibrationEdit from "../../ModuleDeviceManage/views/DeviceCalibration/DeviceCalibration/DeviceCalibrationEditDialog.vue";

export default {
  name: "AuditDeviceVerificationPlanVerifyDetail",
  components: { DeviceVerificationPlanEditDialog: DeviceManage.DeviceVerificationPlanEditDialog },
  // components: { DeviceCalibrationEdit: DeviceCalibrationEdit },
  props: {
    dialogFormVisible: {
      type: Boolean,
      default: false,
    },
    editId: {
      type: String,
      default: "",
    },
  },
  data() {
    return {
      loading: true,
    };
  },
  watch: {
    dialogFormVisible: function(v) {
      if (v === false) {
        this.$emit("getList");
        this.$emit("update:dialogFormVisible", false);
      }
    },
  },
  created() { },
  methods: {

    // 弹窗使用不允许删除
    getList() { }
  },
};
</script>
<style scoped>
</style>
